package com.ourteam.education.dao;
/**
 * Template Name : DAO数据对象
 * Template Version : 1
 * Template Last Modfiy Date : Fri Aug 18 15:51:23 CST 2017
 * Auto Generate Date : 2019-09-22 15:15:06
  * Warning ! This file will be overwrite when regenerate !
  * 
 */
import org.apache.commons.lang.StringUtils;
public class ClassDefine implements java.io.Serializable {
    
    public ClassDefine() {
		super();
	}
	
		
		
		
		
		
	private long id;	
	
	/**
	 * Attribute id Be Seted Falg
	 */
	private boolean idSetted = false;
	
		/**
	 * Attribute id is Null Falg
	 */
	private boolean idNull = false;
	
	   
    /**
	 * Get id
	 * 
	 * @return long
	 */
	final public long getId(){
	    
				
		return id;
				
	}
	
	/**
	 * Set id
	 * 
	 * @param long
	 */
	final public void setId(long id ){
		
				
		this.id = id;
				
		this.idSetted = true;
		
				
				
		this.setIdNull(false);
				
				
	}
	
	/**
	 * Get id Has Been Setted
	 * 
	 * @return boolean
	 */
	final public boolean isIdSetted(){
		return this.idSetted;
	}
	
		
	/**
	 * Set id Null
	 * 
	 */
	final public void setIdNull(){
			
		this.idNull = true;
		
	}	
	
	final public void setIdNull(boolean aNullFlag){
			
		this.idNull = aNullFlag;
		
	}	
	
	final public boolean isIdNull(){
			
		return this.idNull;
		
	}
	
    	
	   
		
		
		
	private long campusId;	
	
	/**
	 * Attribute campusId Be Seted Falg
	 */
	private boolean campusIdSetted = false;
	
		/**
	 * Attribute campusId is Null Falg
	 */
	private boolean campusIdNull = false;
	
	   
    /**
	 * Get campusId
	 * 
	 * @return long
	 */
	final public long getCampusId(){
	    
				
		return campusId;
				
	}
	
	/**
	 * Set campusId
	 * 
	 * @param long
	 */
	final public void setCampusId(long campusId ){
		
				
		this.campusId = campusId;
				
		this.campusIdSetted = true;
		
				
				
		this.setCampusIdNull(false);
				
				
	}
	
	/**
	 * Get campusId Has Been Setted
	 * 
	 * @return boolean
	 */
	final public boolean isCampusIdSetted(){
		return this.campusIdSetted;
	}
	
		
	/**
	 * Set campusId Null
	 * 
	 */
	final public void setCampusIdNull(){
			
		this.campusIdNull = true;
		
	}	
	
	final public void setCampusIdNull(boolean aNullFlag){
			
		this.campusIdNull = aNullFlag;
		
	}	
	
	final public boolean isCampusIdNull(){
			
		return this.campusIdNull;
		
	}
	
    	
	   
		
		
		
	private long courseId;	
	
	/**
	 * Attribute courseId Be Seted Falg
	 */
	private boolean courseIdSetted = false;
	
		/**
	 * Attribute courseId is Null Falg
	 */
	private boolean courseIdNull = false;
	
	   
    /**
	 * Get courseId
	 * 
	 * @return long
	 */
	final public long getCourseId(){
	    
				
		return courseId;
				
	}
	
	/**
	 * Set courseId
	 * 
	 * @param long
	 */
	final public void setCourseId(long courseId ){
		
				
		this.courseId = courseId;
				
		this.courseIdSetted = true;
		
				
				
		this.setCourseIdNull(false);
				
				
	}
	
	/**
	 * Get courseId Has Been Setted
	 * 
	 * @return boolean
	 */
	final public boolean isCourseIdSetted(){
		return this.courseIdSetted;
	}
	
		
	/**
	 * Set courseId Null
	 * 
	 */
	final public void setCourseIdNull(){
			
		this.courseIdNull = true;
		
	}	
	
	final public void setCourseIdNull(boolean aNullFlag){
			
		this.courseIdNull = aNullFlag;
		
	}	
	
	final public boolean isCourseIdNull(){
			
		return this.courseIdNull;
		
	}
	
    	
	   
		
		
		
	private String className;	
	
	/**
	 * Attribute className Be Seted Falg
	 */
	private boolean classNameSetted = false;
	
		/**
	 * Attribute className is Null Falg
	 */
	private boolean classNameNull = false;
	
	   
    /**
	 * Get className
	 * 
	 * @return String
	 */
	final public String getClassName(){
	    
				
		if(isClassNameNull()){
			return null;
		}
		else{
			return StringUtils.trim(className);
		}
				
	}
	
	/**
	 * Set className
	 * 
	 * @param String
	 */
	final public void setClassName(String className ){
		
				
		this.className = StringUtils.trim(className);
				
		this.classNameSetted = true;
		
				
				
		this.setClassNameNull(this.className == null);
				
				
	}
	
	/**
	 * Get className Has Been Setted
	 * 
	 * @return boolean
	 */
	final public boolean isClassNameSetted(){
		return this.classNameSetted;
	}
	
		
	/**
	 * Set className Null
	 * 
	 */
	final public void setClassNameNull(){
			
		this.classNameNull = true;
		
	}	
	
	final public void setClassNameNull(boolean aNullFlag){
			
		this.classNameNull = aNullFlag;
		
	}	
	
	final public boolean isClassNameNull(){
			
		return this.classNameNull;
		
	}
	
    	
	   
		
		
		
	private long fullClassNumber;	
	
	/**
	 * Attribute fullClassNumber Be Seted Falg
	 */
	private boolean fullClassNumberSetted = false;
	
		/**
	 * Attribute fullClassNumber is Null Falg
	 */
	private boolean fullClassNumberNull = false;
	
	   
    /**
	 * Get fullClassNumber
	 * 
	 * @return long
	 */
	final public long getFullClassNumber(){
	    
				
		return fullClassNumber;
				
	}
	
	/**
	 * Set fullClassNumber
	 * 
	 * @param long
	 */
	final public void setFullClassNumber(long fullClassNumber ){
		
				
		this.fullClassNumber = fullClassNumber;
				
		this.fullClassNumberSetted = true;
		
				
				
		this.setFullClassNumberNull(false);
				
				
	}
	
	/**
	 * Get fullClassNumber Has Been Setted
	 * 
	 * @return boolean
	 */
	final public boolean isFullClassNumberSetted(){
		return this.fullClassNumberSetted;
	}
	
		
	/**
	 * Set fullClassNumber Null
	 * 
	 */
	final public void setFullClassNumberNull(){
			
		this.fullClassNumberNull = true;
		
	}	
	
	final public void setFullClassNumberNull(boolean aNullFlag){
			
		this.fullClassNumberNull = aNullFlag;
		
	}	
	
	final public boolean isFullClassNumberNull(){
			
		return this.fullClassNumberNull;
		
	}
	
    	
	   
		
		
		
	private long minClassNumber;	
	
	/**
	 * Attribute minClassNumber Be Seted Falg
	 */
	private boolean minClassNumberSetted = false;
	
		/**
	 * Attribute minClassNumber is Null Falg
	 */
	private boolean minClassNumberNull = false;
	
	   
    /**
	 * Get minClassNumber
	 * 
	 * @return long
	 */
	final public long getMinClassNumber(){
	    
				
		return minClassNumber;
				
	}
	
	/**
	 * Set minClassNumber
	 * 
	 * @param long
	 */
	final public void setMinClassNumber(long minClassNumber ){
		
				
		this.minClassNumber = minClassNumber;
				
		this.minClassNumberSetted = true;
		
				
				
		this.setMinClassNumberNull(false);
				
				
	}
	
	/**
	 * Get minClassNumber Has Been Setted
	 * 
	 * @return boolean
	 */
	final public boolean isMinClassNumberSetted(){
		return this.minClassNumberSetted;
	}
	
		
	/**
	 * Set minClassNumber Null
	 * 
	 */
	final public void setMinClassNumberNull(){
			
		this.minClassNumberNull = true;
		
	}	
	
	final public void setMinClassNumberNull(boolean aNullFlag){
			
		this.minClassNumberNull = aNullFlag;
		
	}	
	
	final public boolean isMinClassNumberNull(){
			
		return this.minClassNumberNull;
		
	}
	
    	
	   
		
		
		
	private String enrollmentStatus;	
	
	/**
	 * Attribute enrollmentStatus Be Seted Falg
	 */
	private boolean enrollmentStatusSetted = false;
	
		/**
	 * Attribute enrollmentStatus is Null Falg
	 */
	private boolean enrollmentStatusNull = false;
	
	   
    /**
	 * Get enrollmentStatus
	 * 
	 * @return String
	 */
	final public String getEnrollmentStatus(){
	    
				
		if(isEnrollmentStatusNull()){
			return null;
		}
		else{
			return StringUtils.trim(enrollmentStatus);
		}
				
	}
	
	/**
	 * Set enrollmentStatus
	 * 
	 * @param String
	 */
	final public void setEnrollmentStatus(String enrollmentStatus ){
		
				
		this.enrollmentStatus = StringUtils.trim(enrollmentStatus);
				
		this.enrollmentStatusSetted = true;
		
				
				
		this.setEnrollmentStatusNull(this.enrollmentStatus == null);
				
				
	}
	
	/**
	 * Get enrollmentStatus Has Been Setted
	 * 
	 * @return boolean
	 */
	final public boolean isEnrollmentStatusSetted(){
		return this.enrollmentStatusSetted;
	}
	
		
	/**
	 * Set enrollmentStatus Null
	 * 
	 */
	final public void setEnrollmentStatusNull(){
			
		this.enrollmentStatusNull = true;
		
	}	
	
	final public void setEnrollmentStatusNull(boolean aNullFlag){
			
		this.enrollmentStatusNull = aNullFlag;
		
	}	
	
	final public boolean isEnrollmentStatusNull(){
			
		return this.enrollmentStatusNull;
		
	}
	
    	
	   
		
		
		
	private long classRoomId;	
	
	/**
	 * Attribute classRoomId Be Seted Falg
	 */
	private boolean classRoomIdSetted = false;
	
		/**
	 * Attribute classRoomId is Null Falg
	 */
	private boolean classRoomIdNull = false;
	
	   
    /**
	 * Get classRoomId
	 * 
	 * @return long
	 */
	final public long getClassRoomId(){
	    
				
		return classRoomId;
				
	}
	
	/**
	 * Set classRoomId
	 * 
	 * @param long
	 */
	final public void setClassRoomId(long classRoomId ){
		
				
		this.classRoomId = classRoomId;
				
		this.classRoomIdSetted = true;
		
				
				
		this.setClassRoomIdNull(false);
				
				
	}
	
	/**
	 * Get classRoomId Has Been Setted
	 * 
	 * @return boolean
	 */
	final public boolean isClassRoomIdSetted(){
		return this.classRoomIdSetted;
	}
	
		
	/**
	 * Set classRoomId Null
	 * 
	 */
	final public void setClassRoomIdNull(){
			
		this.classRoomIdNull = true;
		
	}	
	
	final public void setClassRoomIdNull(boolean aNullFlag){
			
		this.classRoomIdNull = aNullFlag;
		
	}	
	
	final public boolean isClassRoomIdNull(){
			
		return this.classRoomIdNull;
		
	}
	
    	
	   
		
		
		
	private java.util.Date startClassDate;	
	
	/**
	 * Attribute startClassDate Be Seted Falg
	 */
	private boolean startClassDateSetted = false;
	
		/**
	 * Attribute startClassDate is Null Falg
	 */
	private boolean startClassDateNull = false;
	
	   
    /**
	 * Get startClassDate
	 * 
	 * @return java.util.Date
	 */
	final public java.util.Date getStartClassDate(){
	    
				
		return startClassDate;
				
	}
	
	/**
	 * Set startClassDate
	 * 
	 * @param java.util.Date
	 */
	final public void setStartClassDate(java.util.Date startClassDate ){
		
				
		this.startClassDate = startClassDate;
				
		this.startClassDateSetted = true;
		
				
				
		this.setStartClassDateNull(this.startClassDate == null);
				
				
	}
	
	/**
	 * Get startClassDate Has Been Setted
	 * 
	 * @return boolean
	 */
	final public boolean isStartClassDateSetted(){
		return this.startClassDateSetted;
	}
	
		
	/**
	 * Set startClassDate Null
	 * 
	 */
	final public void setStartClassDateNull(){
			
		this.startClassDateNull = true;
		
	}	
	
	final public void setStartClassDateNull(boolean aNullFlag){
			
		this.startClassDateNull = aNullFlag;
		
	}	
	
	final public boolean isStartClassDateNull(){
			
		return this.startClassDateNull;
		
	}
	
    	
	   
		
		
		
	private java.util.Date endClassDate;	
	
	/**
	 * Attribute endClassDate Be Seted Falg
	 */
	private boolean endClassDateSetted = false;
	
		/**
	 * Attribute endClassDate is Null Falg
	 */
	private boolean endClassDateNull = false;
	
	   
    /**
	 * Get endClassDate
	 * 
	 * @return java.util.Date
	 */
	final public java.util.Date getEndClassDate(){
	    
				
		return endClassDate;
				
	}
	
	/**
	 * Set endClassDate
	 * 
	 * @param java.util.Date
	 */
	final public void setEndClassDate(java.util.Date endClassDate ){
		
				
		this.endClassDate = endClassDate;
				
		this.endClassDateSetted = true;
		
				
				
		this.setEndClassDateNull(this.endClassDate == null);
				
				
	}
	
	/**
	 * Get endClassDate Has Been Setted
	 * 
	 * @return boolean
	 */
	final public boolean isEndClassDateSetted(){
		return this.endClassDateSetted;
	}
	
		
	/**
	 * Set endClassDate Null
	 * 
	 */
	final public void setEndClassDateNull(){
			
		this.endClassDateNull = true;
		
	}	
	
	final public void setEndClassDateNull(boolean aNullFlag){
			
		this.endClassDateNull = aNullFlag;
		
	}	
	
	final public boolean isEndClassDateNull(){
			
		return this.endClassDateNull;
		
	}
	
    	
	   
		
		
		
	private long studentClassHour;	
	
	/**
	 * Attribute studentClassHour Be Seted Falg
	 */
	private boolean studentClassHourSetted = false;
	
		/**
	 * Attribute studentClassHour is Null Falg
	 */
	private boolean studentClassHourNull = false;
	
	   
    /**
	 * Get studentClassHour
	 * 
	 * @return long
	 */
	final public long getStudentClassHour(){
	    
				
		return studentClassHour;
				
	}
	
	/**
	 * Set studentClassHour
	 * 
	 * @param long
	 */
	final public void setStudentClassHour(long studentClassHour ){
		
				
		this.studentClassHour = studentClassHour;
				
		this.studentClassHourSetted = true;
		
				
				
		this.setStudentClassHourNull(false);
				
				
	}
	
	/**
	 * Get studentClassHour Has Been Setted
	 * 
	 * @return boolean
	 */
	final public boolean isStudentClassHourSetted(){
		return this.studentClassHourSetted;
	}
	
		
	/**
	 * Set studentClassHour Null
	 * 
	 */
	final public void setStudentClassHourNull(){
			
		this.studentClassHourNull = true;
		
	}	
	
	final public void setStudentClassHourNull(boolean aNullFlag){
			
		this.studentClassHourNull = aNullFlag;
		
	}	
	
	final public boolean isStudentClassHourNull(){
			
		return this.studentClassHourNull;
		
	}
	
    	
	   
		
		
		
	private long teacherClassHour;	
	
	/**
	 * Attribute teacherClassHour Be Seted Falg
	 */
	private boolean teacherClassHourSetted = false;
	
		/**
	 * Attribute teacherClassHour is Null Falg
	 */
	private boolean teacherClassHourNull = false;
	
	   
    /**
	 * Get teacherClassHour
	 * 
	 * @return long
	 */
	final public long getTeacherClassHour(){
	    
				
		return teacherClassHour;
				
	}
	
	/**
	 * Set teacherClassHour
	 * 
	 * @param long
	 */
	final public void setTeacherClassHour(long teacherClassHour ){
		
				
		this.teacherClassHour = teacherClassHour;
				
		this.teacherClassHourSetted = true;
		
				
				
		this.setTeacherClassHourNull(false);
				
				
	}
	
	/**
	 * Get teacherClassHour Has Been Setted
	 * 
	 * @return boolean
	 */
	final public boolean isTeacherClassHourSetted(){
		return this.teacherClassHourSetted;
	}
	
		
	/**
	 * Set teacherClassHour Null
	 * 
	 */
	final public void setTeacherClassHourNull(){
			
		this.teacherClassHourNull = true;
		
	}	
	
	final public void setTeacherClassHourNull(boolean aNullFlag){
			
		this.teacherClassHourNull = aNullFlag;
		
	}	
	
	final public boolean isTeacherClassHourNull(){
			
		return this.teacherClassHourNull;
		
	}
	
    	
	   
		
		
		
	private int deleteFlag;	
	
	/**
	 * Attribute deleteFlag Be Seted Falg
	 */
	private boolean deleteFlagSetted = false;
	
		/**
	 * Attribute deleteFlag is Null Falg
	 */
	private boolean deleteFlagNull = false;
	
	   
    /**
	 * Get deleteFlag
	 * 
	 * @return int
	 */
	final public int getDeleteFlag(){
	    
				
		return deleteFlag;
				
	}
	
	/**
	 * Set deleteFlag
	 * 
	 * @param int
	 */
	final public void setDeleteFlag(int deleteFlag ){
		
				
		this.deleteFlag = deleteFlag;
				
		this.deleteFlagSetted = true;
		
				
				
		this.setDeleteFlagNull(false);
				
				
	}
	
	/**
	 * Get deleteFlag Has Been Setted
	 * 
	 * @return boolean
	 */
	final public boolean isDeleteFlagSetted(){
		return this.deleteFlagSetted;
	}
	
		
	/**
	 * Set deleteFlag Null
	 * 
	 */
	final public void setDeleteFlagNull(){
			
		this.deleteFlagNull = true;
		
	}	
	
	final public void setDeleteFlagNull(boolean aNullFlag){
			
		this.deleteFlagNull = aNullFlag;
		
	}	
	
	final public boolean isDeleteFlagNull(){
			
		return this.deleteFlagNull;
		
	}
	
    	
	   
		
		
		
	private String status;	
	
	/**
	 * Attribute status Be Seted Falg
	 */
	private boolean statusSetted = false;
	
		/**
	 * Attribute status is Null Falg
	 */
	private boolean statusNull = false;
	
	   
    /**
	 * Get status
	 * 
	 * @return String
	 */
	final public String getStatus(){
	    
				
		if(isStatusNull()){
			return null;
		}
		else{
			return StringUtils.trim(status);
		}
				
	}
	
	/**
	 * Set status
	 * 
	 * @param String
	 */
	final public void setStatus(String status ){
		
				
		this.status = StringUtils.trim(status);
				
		this.statusSetted = true;
		
				
				
		this.setStatusNull(this.status == null);
				
				
	}
	
	/**
	 * Get status Has Been Setted
	 * 
	 * @return boolean
	 */
	final public boolean isStatusSetted(){
		return this.statusSetted;
	}
	
		
	/**
	 * Set status Null
	 * 
	 */
	final public void setStatusNull(){
			
		this.statusNull = true;
		
	}	
	
	final public void setStatusNull(boolean aNullFlag){
			
		this.statusNull = aNullFlag;
		
	}	
	
	final public boolean isStatusNull(){
			
		return this.statusNull;
		
	}
	
    	
	   
		
		
		
	private String remarks;	
	
	/**
	 * Attribute remarks Be Seted Falg
	 */
	private boolean remarksSetted = false;
	
		/**
	 * Attribute remarks is Null Falg
	 */
	private boolean remarksNull = false;
	
	   
    /**
	 * Get remarks
	 * 
	 * @return String
	 */
	final public String getRemarks(){
	    
				
		if(isRemarksNull()){
			return null;
		}
		else{
			return StringUtils.trim(remarks);
		}
				
	}
	
	/**
	 * Set remarks
	 * 
	 * @param String
	 */
	final public void setRemarks(String remarks ){
		
				
		this.remarks = StringUtils.trim(remarks);
				
		this.remarksSetted = true;
		
				
				
		this.setRemarksNull(this.remarks == null);
				
				
	}
	
	/**
	 * Get remarks Has Been Setted
	 * 
	 * @return boolean
	 */
	final public boolean isRemarksSetted(){
		return this.remarksSetted;
	}
	
		
	/**
	 * Set remarks Null
	 * 
	 */
	final public void setRemarksNull(){
			
		this.remarksNull = true;
		
	}	
	
	final public void setRemarksNull(boolean aNullFlag){
			
		this.remarksNull = aNullFlag;
		
	}	
	
	final public boolean isRemarksNull(){
			
		return this.remarksNull;
		
	}
	
    	
	   
		
						
		
	private String campusName;	
	
	/**
	 * Attribute campusName Be Seted Falg
	 */
	private boolean campusNameSetted = false;
	
		/**
	 * Attribute campusName is Null Falg
	 */
	private boolean campusNameNull = false;
	
	   
    /**
	 * Get campusName
	 * 
	 * @return String
	 */
	final public String getCampusName(){
	    
				
		if(isCampusNameNull()){
			return null;
		}
		else{
			return StringUtils.trim(campusName);
		}
				
	}
	
	/**
	 * Set campusName
	 * 
	 * @param String
	 */
	final public void setCampusName(String campusName ){
		
				
		this.campusName = StringUtils.trim(campusName);
				
		this.campusNameSetted = true;
		
				
				
		this.setCampusNameNull(this.campusName == null);
				
				
	}
	
	/**
	 * Get campusName Has Been Setted
	 * 
	 * @return boolean
	 */
	final public boolean isCampusNameSetted(){
		return this.campusNameSetted;
	}
	
		
	/**
	 * Set campusName Null
	 * 
	 */
	final public void setCampusNameNull(){
			
		this.campusNameNull = true;
		
	}	
	
	final public void setCampusNameNull(boolean aNullFlag){
			
		this.campusNameNull = aNullFlag;
		
	}	
	
	final public boolean isCampusNameNull(){
			
		return this.campusNameNull;
		
	}
	
    	
		
								
		
	private String courseName;	
	
	/**
	 * Attribute courseName Be Seted Falg
	 */
	private boolean courseNameSetted = false;
	
		/**
	 * Attribute courseName is Null Falg
	 */
	private boolean courseNameNull = false;
	
	   
    /**
	 * Get courseName
	 * 
	 * @return String
	 */
	final public String getCourseName(){
	    
				
		if(isCourseNameNull()){
			return null;
		}
		else{
			return StringUtils.trim(courseName);
		}
				
	}
	
	/**
	 * Set courseName
	 * 
	 * @param String
	 */
	final public void setCourseName(String courseName ){
		
				
		this.courseName = StringUtils.trim(courseName);
				
		this.courseNameSetted = true;
		
				
				
		this.setCourseNameNull(this.courseName == null);
				
				
	}
	
	/**
	 * Get courseName Has Been Setted
	 * 
	 * @return boolean
	 */
	final public boolean isCourseNameSetted(){
		return this.courseNameSetted;
	}
	
		
	/**
	 * Set courseName Null
	 * 
	 */
	final public void setCourseNameNull(){
			
		this.courseNameNull = true;
		
	}	
	
	final public void setCourseNameNull(boolean aNullFlag){
			
		this.courseNameNull = aNullFlag;
		
	}	
	
	final public boolean isCourseNameNull(){
			
		return this.courseNameNull;
		
	}
	
    	
		
								
		
	private String classroomName;	
	
	/**
	 * Attribute classroomName Be Seted Falg
	 */
	private boolean classroomNameSetted = false;
	
		/**
	 * Attribute classroomName is Null Falg
	 */
	private boolean classroomNameNull = false;
	
	   
    /**
	 * Get classroomName
	 * 
	 * @return String
	 */
	final public String getClassroomName(){
	    
				
		if(isClassroomNameNull()){
			return null;
		}
		else{
			return StringUtils.trim(classroomName);
		}
				
	}
	
	/**
	 * Set classroomName
	 * 
	 * @param String
	 */
	final public void setClassroomName(String classroomName ){
		
				
		this.classroomName = StringUtils.trim(classroomName);
				
		this.classroomNameSetted = true;
		
				
				
		this.setClassroomNameNull(this.classroomName == null);
				
				
	}
	
	/**
	 * Get classroomName Has Been Setted
	 * 
	 * @return boolean
	 */
	final public boolean isClassroomNameSetted(){
		return this.classroomNameSetted;
	}
	
		
	/**
	 * Set classroomName Null
	 * 
	 */
	final public void setClassroomNameNull(){
			
		this.classroomNameNull = true;
		
	}	
	
	final public void setClassroomNameNull(boolean aNullFlag){
			
		this.classroomNameNull = aNullFlag;
		
	}	
	
	final public boolean isClassroomNameNull(){
			
		return this.classroomNameNull;
		
	}
	
    	
		
				
		
		
	
	
	public int hashCode() {
		final int prime = 31;
		int result = 1;
				
				
		result = prime * result + (int) (getId() ^ (getId() >>> 32));
						
		return result;
	}
	
	public boolean equals(Object obj) {
	
		if (obj == null){
			return false;
		}
		if ((obj instanceof ClassDefine) == false){
			return false;
		}
		ClassDefine other = (ClassDefine) obj;
		
				
				
		if (getId() != other.getId()){
			return false;
		}
						
		return true;
	
	}	
	
	public String toString(){
	    
		StringBuffer buffer = new StringBuffer();
		
		buffer.append("[");
		
		        
		buffer.append("id=");
		buffer.append(this.id);
		        
		buffer.append("campusId=");
		buffer.append(this.campusId);
		        
		buffer.append("courseId=");
		buffer.append(this.courseId);
		        
		buffer.append("className=");
		buffer.append(this.className);
		        
		buffer.append("fullClassNumber=");
		buffer.append(this.fullClassNumber);
		        
		buffer.append("minClassNumber=");
		buffer.append(this.minClassNumber);
		        
		buffer.append("enrollmentStatus=");
		buffer.append(this.enrollmentStatus);
		        
		buffer.append("classRoomId=");
		buffer.append(this.classRoomId);
		        
		buffer.append("startClassDate=");
		buffer.append(this.startClassDate);
		        
		buffer.append("endClassDate=");
		buffer.append(this.endClassDate);
		        
		buffer.append("studentClassHour=");
		buffer.append(this.studentClassHour);
		        
		buffer.append("teacherClassHour=");
		buffer.append(this.teacherClassHour);
		        
		buffer.append("deleteFlag=");
		buffer.append(this.deleteFlag);
		        
		buffer.append("status=");
		buffer.append(this.status);
		        
		buffer.append("remarks=");
		buffer.append(this.remarks);
		        
		buffer.append("campusName=");
		buffer.append(this.campusName);
		        
		buffer.append("courseName=");
		buffer.append(this.courseName);
		        
		buffer.append("classroomName=");
		buffer.append(this.classroomName);
				
		buffer.append("]");
		
		return buffer.toString();
	}
	
	
}